

const asyncRouter = [
  // A - 素材管理
  {
    alwaysShow: true,
    path: '/material',
    name: "Material",
    component: "Layout",
    hidden: false,
    redirect: 'noRedirect',
    meta: {
      title: '素材管理',
      icon: 'date',
      noCache: false,
      link: null
    },
    children: [
      // B - 素材检索
      {
        name: "Material",
        path: "material",
        hidden: false,
        component: "material/material/index",
        meta: {
          icon: '#',
          link: null,
          noCache: false,
          title: '素材检索'
        }
      },
      // B - 素材统计看板
      {
        name: "Board",
        path: "board",
        hidden: false,
        component: "material/board/index",
        meta: {
          icon: '404',
          link: null,
          noCache: false,
          title: "素材统计看板"
        }
      },
      // B - 采集引擎
      {
        name: "engine",
        path: "Engine",
        hidden: false,
        component: "material/engine/index",
        meta: {
          icon: '#',
          link: null,
          noCache: false,
          title: "采集引擎"
        }
      },
      {
        name: "UploadMaterial",
        path: "uploadMaterial",
        hidden: true,
        component: "material/material/uploadMaterial",
        meta: {
          icon: '#',
          link: null,
          noCache: false,
          title: "素材上传"
        }
      }
    ]
  },
  // A - 心理要素知识库
  {
    alwaysShow: true,
    path: "/library",
    name: "Library",
    component: "Layout",
    hidden: false,
    redirect: "noRedirect",
    meta: {
      title: "心理要素知识库",
      icon: '#',
      noCache: false,
      link: null
    },
    children: [
      // B - 受众看板
      {
        name: "Audience",
        path: "audience",
        hidden: false,
        component: "library/audience/index",
        meta: {
          icon: '#',
          link: null,
          noCache: false,
          title: "受众看板"
        }
      },
      // B - 策略管理
      {
        name: "Strategy",
        path: "strategy",
        hidden: false,
        component: "library/strategy/index",
        meta: {
          icon: '#',
          link: null,
          noCache: false,
          title: "策略管理"
        }
      },
      {
        name: "AudienceDetail",
        path: "audienceDetail",
        hidden: true,
        component: "library/audience/detail",
        meta: {
          icon: '#',
          link: null,
          noCache: false,
          title: "受众详情"
        }
      }
    ]
  },
  // A - 内容制作
  {
    alwaysShow: true,
    path: "/content",
    name: "Content",
    component: "Layout",
    hidden: false,
    redirect: "noRedirect",
    meta: {
      title: "内容制作",
      icon: '#',
      noCache: false,
      link: null
    },
    children: [
      // B - 任务管理看板
      {
        name: "Template",
        path: "template",
        hidden: false,
        component: "content/template/index",
        meta: {
          title: "任务管理看板",
          icon: '#',
          noCache: false,
          link: null
        }
      },
      // B - 内容制作任务
      {
        name: "Task",
        path: "task",
        hidden: false,
        component: "content/task/index",
        meta: {
          title: "内容制作任务",
          icon: '#',
          noCache: false,
          link: null
        }
      },
      // B - 符合新闻制作
      {
        name: "TextMake",
        path: "textMake",
        hidden: false,
        component: "content/textMake/index",
        meta: {
          title: "复合新闻制作",
          icon: '#',
          noCache: false,
          link: null
        }
      },
      // B - 图片制作
      {
        name: "ImgMake",
        path: "imgMake",
        hidden: false,
        component: "content/imgMake/index",
        meta: {
          title: "图片制作",
          icon: '#',
          noCache: false,
          link: null
        }
      },
      // B - 视频制作
      {
        name: "VideoMake",
        path: "videoMake",
        hidden: false,
        component: "content/videoMake/index",
        meta: {
          title: "视频制作",
          icon: '#',
          noCache: false,
          link: null
        }
      },
      {
        name: "Create",
        path: "create",
        hidden: true,
        component: "content/videoMake/create",
        meta: {
          title: "视频制作第二步",
          icon: '#',
          noCache: false,
          link: null
        }
      },
      // B - 数字人制作
      {
        name: "DigitalHumanMake",
        path: "digitalHumanMake",
        hidden: false,
        component: "content/digitalHumanMake/index",
        meta: {
          title: "数字人制作",
          icon: '#',
          noCache: false,
          link: null
        }
      }
    ]
  },
  // A - 系统管理
  {
    alwaysShow: true,
    path: "/system",
    name: "System",
    component: "Layout",
    hidden: false,
    redirect: "noRedirect",
    meta: {
      title: "系统管理",
      icon: "system",
      noCache: false,
      link: null
    },
    children: [
      // B - 用户管理
      {
        name: "User",
        path: "user",
        hidden: false,
        component: "system/user/index",
        meta: {
          title: "用户管理",
          icon: "user",
          noCache: false,
          link: null
        }
      },
      // B - 角色管理
      {
        name: "Role",
        path: "role",
        hidden: false,
        component: "system/role/index",
        meta: {
          title: "角色管理",
          icon: "peoples",
          noCache: false,
          link: null
        }
      },
      // B - 菜单管理
      {
        name: "Menu",
        path: "menu",
        hidden: false,
        component: "system/menu/index",
        meta: {
          title: "菜单管理",
          icon: "tree-table",
          noCache: false,
          link: null
        }
      },
      // B - 字典管理
      {
        name: "Dict",
        path: "dict",
        hidden: false,
        component: "system/dict/index",
        meta: {
          title: "字典管理",
          icon: "dict",
          noCache: false,
          link: null
        }
      },
      // B - 参数设置
      {
        name: "Config",
        path: "config",
        hidden: false,
        component: "system/config/index",
        meta: {
          title: "参数设置",
          icon: "edit",
          noCache: false,
          link: null
        }
      }
    ]
  }
]